package com.sun.service;

import org.springframework.security.core.Authentication;

import javax.servlet.http.HttpServletRequest;

/**
 * @Description:
 * @Author hugh.sun
 * @Date 2021/12/6 8:26
 */
public interface MySecurityService {
    /*自己判断权限的接口*/
    Boolean hasPermission(HttpServletRequest servletRequest, Authentication authentication);
}
